﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace ComDevFx.Arch.Base
{
    public class FxArchBootstrapper
    {
        public static void Init()
        {
            //init log4net componet
            log4net.Config.XmlConfigurator.Configure(new FileInfo(ConfigurationManager.AppSettings["log4net-config-file"]));   
        }

        public static void Stop()
        {
            log4net.LogManager.Shutdown();
        }
    }
}
